package com.my.blogapi.service;

import com.my.blogapi.vo.param.ArticleParam;
import com.my.blogapi.vo.param.PageParams;
import com.my.blogapi.vo.param.Result;

public interface ArticleService {


    Result listArticle(PageParams pageParams);

    Result hotArticle(int limit);

    Result newArticle(int limit);

    Result listArchives();

    Result findArticleById(Long articleId);

    Result publishArticle(ArticleParam articleParam);
}
